// 混入 （把重复使用的部分封装起来）
@mixin disJA {
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home {
  height: 100%;
  .header {
    color: #eee;
    background: linear-gradient(90deg, #1f1c2c 0%, #928dab 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    .header-right {
      display: flex;
      align-items: center;
      justify-content: space-evenly;
    }
    img {
      height: 58px;
      vertical-align: middle;
    }
    .user {
      font-size: 10px;
      &:hover {
        cursor: pointer;
        color: brown;
      }
    }
    span {
      font-size: 20px;
      padding: 0 20px;
    }
    .icon {
      color: rgba(0, 174, 255, 0.796);
      cursor: pointer;
      &:hover {
        color: brown;
      }
    }
  }
  .sider {
    color: #eee;
    background: linear-gradient(0deg, #333333 0%, #37dfe8 100%);
    .user-box {
      width: 256px;
      height: 143px;
      border: none;
      @include disJA;
      .user-img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 1px solid #eee;
        img {
          width: 50px;
          height: 50px;
          border-radius: 50%;
        }
      }
      span {
        margin-top: 4px;
        color: hsla(286, 100%, 50%, 0.582);
        width: 100px;
        text-align: center;
      }
    }
  }
  .content {
    background: #ffffff;
  }
}
